﻿using Windows.UI.ApplicationSettings;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;

// Pour en savoir plus sur le modèle d'élément Contrôle utilisateur, consultez la page http://go.microsoft.com/fwlink/?LinkId=234236

namespace MDT_Metro_monitoring
{
    public sealed partial class AboutSettings : UserControl
    {
        public AboutSettings()
        {
            this.InitializeComponent();
        }

        public void GoBack(object sender, RoutedEventArgs e)
        {
            if (this.Parent.GetType() == typeof(Popup))
            {
                ((Popup)this.Parent).IsOpen = false;
            }
            App.updateAvailable = true;
            SettingsPane.Show();
        }
    }
}
